import instance from "@/utils/http"

export const loginAPI = ({account ,password})=>{
    return instance({
        url:'/login',
        method:'POST',
        data:{
            account ,password
        }
    })
}

export const getLikeListAPI = ({ limit = 4 }) => {
    return instance({
      url:'/goods/relevant',
      params: {
        limit 
      }
    })
  }